<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>定义母版</title>
</head>
<body>
    <div>这里是头部</div>


    {#  指定被继承的部分 #}
    {% block body-content %}

    {% endblock %}



    <div>这里是尾部</div>
    
</body>
</html>